home *** CD-ROM | disk | FTP | other *** search
/ TeX 1995 July / TeX CD-ROM July 1995 (Disc 1)(Walnut Creek)(1995).ISO / tex-k / tex-k-archive.past / tex-k-archive.gz / tex-k-archive / 000875_reading@uintah.cs.utah.edu_Tue Aug 23 06:25:24 1994.msg < prev    next >
Internet Message Format  |  1994-10-11  |  2KB

  1. Received: from uintah.cs.utah.edu by cs.umb.edu with SMTP id AA17535
  2.   (5.65c/IDA-1.4.4 for <tex-k@cs.umb.edu>); Tue, 23 Aug 1994 14:25:25 -0400
  3. Received: by uintah.cs.utah.edu (5.65/DEC-Ultrix/4.3)
  4.     id AA26038; Tue, 23 Aug 1994 12:25:24 -0600
  5. Date: Tue, 23 Aug 1994 12:25:24 -0600
  6. From: reading@uintah.cs.utah.edu (Dan Reading)
  7. Message-Id: <9408231825.AA26038@uintah.cs.utah.edu>
  8. To: tex-k@cs.umb.edu
  9. Subject: kpathsea not honoring path order with filename DB in place
  10.  
  11.  
  12. kpathsea version 1.8 
  13. only change made was 'datadir = /usr/local/share/lib' in Makefile.in
  14.  
  15.  
  16. I'm trying to have versions of latex3e and latex209 installed at
  17. the same time. In order to do this I have a texmf/latex209 along
  18. side of texmf/tex. And the following shell script:
  19.  
  20. ----------------------
  21. #!/bin/sh
  22.  
  23. #/usr/local/bin/latex209
  24.  
  25. # setup TEXINPUTS for latex209 run. Since we want to keep the old latex 2.09
  26. # installed along with latex2e we must set the path so that
  27. # latex209 gets its sty files before the 'standard input directory'.
  28.  
  29. TEXINPUTS=.:/usr/local/share/lib/texmf/latex209//:$TEXINPUTS
  30. export TEXINPUTS
  31.  
  32. virtex \&latex209 $*
  33. -------------------------
  34.  
  35. If we use as an example book.sty it is located in two locations:
  36. /usr/local/share/lib/texmf/latex209/base/book.sty
  37. /usr/local/share/lib/texmf/tex/latex/base/book.sty
  38.  
  39. if the 'ls-R' file is in place the latex2e version is found, not
  40. the latex209 version like I intend. I understand that kpathsea
  41. returns the first occurrence of the file name it finds.
  42.  
  43. Someone must have run into this situation before. I suppose I could
  44. remove the tex/latex/base/book.sty entry from from the ls-R file.
  45. That works but greatly slows down anyone wanting the latex2e version.
  46. Also makes rebuilding the ls-R file more complicated.
  47.  
  48. Any other suggestions?
  49.  
  50. thanks in advance,
  51. Dan R.
  52. reading@cs.utah.edu